package com.bestv.search.management.datasyn.spider.model;

import com.bestv.search.common.util.StringConst;
import net.sf.json.JSONObject;

public class AliasName {
    private String type;
    private String name;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        JSONObject json = new JSONObject();
        json.put(StringConst.TYPE, this.getType());
        json.put(StringConst.NAME, this.getName());
        return json.toString();
    }
}